{if $GALLERY.list != NULL}
    	<link href="includes/plugins/slide/{$GALLERY.slide_name}/css_pirobox/pirobox_b.css" media="screen" rel="stylesheet" type="text/css" />
    	<script type="text/javascript" src="includes/plugins/slide/{$GALLERY.slide_name}/js/jquery-1.3.1.min.js"></script>
		<script type="text/javascript" src="includes/plugins/slide/{$GALLERY.slide_name}/js/jquery.easing.1.3.js"></script>
        <script type="text/javascript" src="includes/plugins/slide/{$GALLERY.slide_name}/js/piroBox.js"></script>
        <script type="text/javascript">
        {literal}
        $(document).ready(function(){
        
         jQuery.easing.def = 'easeOutExpo';<!--OPTIONAL-->
        
            $('.thumbs').piroBox({<!--OPTIONAL,if don't want easing, just take it off, or comment-->
                    mySpeed: 900,  
                    bg_alpha: 0.8,
                    pathLoader : 'url(css_pirobox/ajax-loader_b.gif) center center no-repeat;', 
                    gallery : '.pirobox_in li a', 
                    gallery_li : '.pirobox_in li', 
                    next_class : '.next_in',
                    previous_class : '.previous_in'
            });	
            $('.thumbs').piroBox({
                    mySpeed: 900, 
                    bg_alpha: 0.8,
                    pathLoader : 'url(css_pirobox/ajax-loader_b.gif) center center no-repeat;', 
                    gallery : '.pirobox li a', 
                    gallery_li : '.pirobox li',
                    single : '.single  a',
                    next_class : '.next',
                    previous_class : '.previous'
            });	
        });
        {/literal}
        </script>
        <div class="pirobox_in">
            <ul class="thumbs_all">
                {foreach name=photos from=$GALLERY.list item=item}
                    <li>
                        <a href="{$GALLERY.upload_path}{$item->path}" title="{$item->description}" ><img src="{$GALLERY.upload_path_thumb}{$item->path}" alt="demo" /></a> 
                     </li>
                {/foreach}
          </ul>
        </div>
{/if}  